package org.example.exp2.exam10;

public class Client {
    public static void main(String[] args) {
        Group group = new Group("A组");
        Group group1 = new Group("B组");
        Member member = new Member("甲");
        Member member1 = new Member("乙");
        Member member2 = new Member("丙");

        group.add(member);
        group.add(group1);

        group1.add(member1);
        group1.add(member2);

        group.share("消息", "配图", "url地址");
    }
}